#pragma once
#include "afxwin.h"


// CArcManage dialog

class CArcManage : public CDialogEx
{
	DECLARE_DYNAMIC(CArcManage)

public:
	CArcManage(CWnd* pParent, CMeasureProject& project);   // standard constructor
	virtual ~CArcManage();

// Dialog Data
	enum { IDD = IDD_ARC_MANAGE };

  static void AddArc(CWnd* owner, BOOL fixStation, const tstring &stationName, const CMeasureArc *ma);
  static void DeleteArc(CWnd* owner, CMeasureArc* arc);

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
  afx_msg void OnOk();
  afx_msg void OnCancel();
  afx_msg void OnArcAdd();
  afx_msg void OnArcDelete();
  afx_msg void OnArcListSelChange();
  virtual BOOL OnInitDialog();

private:
  CMeasureProject&  project_;
  CButton wnd_arc_delete_;
  CListBox wnd_arc_list_;
  CString station_;
};
